part of 'sports_cubit.dart';

abstract class SportsState {}

class SportsInitial extends SportsState {}

class SportsLoading extends SportsState {}

class SportsError extends SportsState {}

class SportsDone extends SportsState {}

class SportsUpdate extends SportsState {}

class SelectModeUpdate extends SportsState {
  final bool mode;
  final Sport? sport;
  SelectModeUpdate({required this.mode,this.sport});
}

class SelectSport extends SportsState {
  final Sport sport;
  final bool isSelected;
  SelectSport({required this.sport,required this.isSelected});
}


class AddSportToGymLoading extends SportsState {
  final Sport sport;
  AddSportToGymLoading({required this.sport});
}

class AddSportToGymError extends SportsState {
  final Sport sport;
  final String massage;
  final int stateCode;
  AddSportToGymError({required this.sport,required this.massage,required this.stateCode});
}

class AddSportToGymDone extends SportsState {
  final Sport sport;
  AddSportToGymDone({required this.sport});
}
